package com.gill;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * step4：加载 Spring 配置
 *
 */
public class ProviderApp {
    public static void main( String[] args ) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"spring-provider.xml"});
        context.start();
        System.in.read(); // 按任意键退出
    }
}
